package Vista;
import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.ImageIcon;
import javax.swing.JLabel;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;

import javax.swing.WindowConstants;
import javax.swing.SwingUtilities;


/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class jMenu extends javax.swing.JFrame {
	private JMenuBar jMenuBar1;
	private JLabel jLabel3;
	private JLabel jLabel4;
	private JLabel jLabel5;
	private JMenuItem jMenuItem13;
	private JMenuItem jMenuItem12;
	private JMenuItem jMenuItem11;
	private JMenuItem jMenuItem10;
	private JMenuItem jMenuItem9;
	private JMenuItem jMenuItem8;
	private JMenuItem jMenuItem7;
	private JLabel jLabel7;
	private JLabel jLabel6;
	private JLabel jLabel2;
	private JLabel jLabel1;
	private JMenuItem jMenuItem6;
	private JMenu jMenu4;
	private JMenuItem jMenuItem5;
	private JMenuItem jMenuItem4;
	private JMenu jMenu2;
	private JMenuItem jMenuItem3;
	private JMenuItem jMenuItem2;
	private JMenuItem jMenuItem1;
	private JMenu jMenu1;
	
	/**
	* Auto-generated main method to display this JFrame
	*/
	public static void main(String[] args) {
		SwingUtilities.invokeLater(new Runnable() {
			public void run() {
				jMenu inst = new jMenu();
				inst.setLocationRelativeTo(null);
				inst.setVisible(true);
				
			}
		});
	}
	
	public jMenu() {
		super();
		initGUI();
	}
	
	private void initGUI() {
		try {
			setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
			getContentPane().setLayout(null);
			{
				
				jLabel1 = new JLabel();
				getContentPane().add(jLabel1);
				jLabel1.setBounds(71, 62, 399, 272);
				jLabel1.setIcon(new ImageIcon(getClass().getClassLoader().getResource("imagenes/6528535-comida-r-pida-es-una-cola-ketchup-mostaza-s-ndwich-hamburguesas-perros-calientes.jpg")));
			}
			{
				jLabel2 = new JLabel();
				getContentPane().add(jLabel2);
				jLabel2.setText("Integrantes:");
				jLabel2.setBounds(213, 340, 102, 25);
				jLabel2.setFont(new java.awt.Font("Segoe UI",1,14));
			}
			{
				jLabel3 = new JLabel();
				getContentPane().add(jLabel3);
				jLabel3.setText("Alfa Pernalete");
				jLabel3.setBounds(215, 370, 93, 15);
			}
			{
				jLabel4 = new JLabel();
				getContentPane().add(jLabel4);
				jLabel4.setText("Maryelis Mendez");
				jLabel4.setBounds(207, 389, 108, 15);
			}
			{
				jLabel5 = new JLabel();
				getContentPane().add(jLabel5);
				jLabel5.setText("Mayilde Rivero");
				jLabel5.setBounds(213, 409, 102, 15);
			}
			{
				jLabel6 = new JLabel();
				getContentPane().add(jLabel6);
				jLabel6.setText("Robert Alvarado");
				jLabel6.setBounds(210, 429, 113, 15);
			}
			{
				jLabel7 = new JLabel();
				getContentPane().add(jLabel7);
				jLabel7.setText("Laboratorio I");
				jLabel7.setBounds(207, 33, 139, 23);
				jLabel7.setFont(new java.awt.Font("Segoe UI",1,20));
			}
			{
				jMenuBar1 = new JMenuBar();
				setJMenuBar(jMenuBar1);
				{
					jMenu1 = new JMenu();
					jMenuBar1.add(jMenu1);
					jMenu1.setText("Maestro");
					{
						jMenuItem1 = new JMenuItem();
						jMenu1.add(jMenuItem1);
						jMenuItem1.setText("Categoria");
						jMenuItem1.addActionListener(new ActionListener() {
							public void actionPerformed(ActionEvent evt) {
								System.out.println("jMenuItem1.actionPerformed, event="+evt);
								new Categoria(new jMenu()).show();
								jMenuItem3.setEnabled(true);
								jMenuItem6.setEnabled(true);
								
							}
						});
					}
					{
						jMenuItem2 = new JMenuItem();
						jMenu1.add(jMenuItem2);
						jMenuItem2.setText("Ingredientes");
						jMenuItem2.addActionListener(new ActionListener() {
							public void actionPerformed(ActionEvent evt) {
								System.out.println("jMenuItem2.actionPerformed, event="+evt);
								//TODO add your code for jMenuItem2.actionPerformed
								new Ingredientes(new jMenu()).show();
								jMenuItem3.setEnabled(true);
								jMenuItem6.setEnabled(true);
								jMenuItem5.setEnabled(true);
								jMenuItem11.setEnabled(true);
							}
						});
					}
					{
						jMenuItem3 = new JMenuItem();
						jMenu1.add(jMenuItem3);
						jMenuItem3.setText("Productos");
						jMenuItem3.setEnabled(false);
						jMenuItem3.addActionListener(new ActionListener() {
							public void actionPerformed(ActionEvent evt) {
								System.out.println("jMenuItem3.actionPerformed, event="+evt);
								//TODO add your code for jMenuItem3.actionPerformed
								new Productos(new jMenu()).show();
								jMenuItem4.setEnabled(true);
							}
						});
					}
					{
						jMenuItem6 = new JMenuItem();
						jMenu1.add(jMenuItem6);
						jMenuItem6.setText("Ingredientes por Producto");
						jMenuItem6.setEnabled(false);
						jMenuItem6.addActionListener(new ActionListener() {
							public void actionPerformed(ActionEvent evt) {
								System.out.println("jMenuItem6.actionPerformed, event="+evt);
								//TODO add your code for jMenuItem6.actionPerformed
								new IngrexProd(new jMenu()).show();
								
							}
						});
					}
				}
				{
					jMenu2 = new JMenu();
					jMenuBar1.add(jMenu2);
					jMenu2.setText("Transaccion");
					{
						
						jMenuItem4 = new JMenuItem();
						jMenu2.add(jMenuItem4);
						jMenuItem4.setText("Ventas");
						jMenuItem4.setEnabled(false);
						jMenuItem4.addActionListener(new ActionListener() {
							public void actionPerformed(ActionEvent evt) {
								System.out.println("jMenuItem4.actionPerformed, event="+evt);
								//TODO add your code for jMenuItem4.actionPerformed
								new Venta(new jMenu()).show();
								jMenuItem7.setEnabled(true);
								jMenuItem8.setEnabled(true);
								jMenuItem9.setEnabled(true);
								jMenuItem10.setEnabled(true);
								jMenuItem12.setEnabled(true);
								jMenuItem13.setEnabled(true);
								
							
							}
						});
					}
					{
						jMenuItem5 = new JMenuItem();
						jMenu2.add(jMenuItem5);
						jMenuItem5.setText("Compras");
						jMenuItem5.setEnabled(false);
						jMenuItem5.addActionListener(new ActionListener() {
							public void actionPerformed(ActionEvent evt) {
								System.out.println("jMenuItem5.actionPerformed, event="+evt);
								//TODO add your code for jMenuItem5.actionPerformed
								new Compras(new jMenu()).show();
								
							}
						});
					}
				}
				{
					jMenu4 = new JMenu();
					jMenuBar1.add(jMenu4);
					jMenu4.setText("Reportes");
					{
						jMenuItem7 = new JMenuItem();
						jMenu4.add(jMenuItem7);
						jMenuItem7.setText("Ventas por Cantidad Asc");
						jMenuItem7.setEnabled(false);
						jMenuItem7.addActionListener(new ActionListener() {
							public void actionPerformed(ActionEvent evt) {
								System.out.println("jMenuItem7.actionPerformed, event="+evt);
								//TODO add your code for jMenuItem7.actionPerformed
								new reporte1(new jMenu()).show();
							}
						});
					}
					{
						jMenuItem8 = new JMenuItem();
						jMenu4.add(jMenuItem8);
						jMenuItem8.setText("Ventas por Cantidad Desc");
						jMenuItem8.setEnabled(false);
						jMenuItem8.addActionListener(new ActionListener() {
							public void actionPerformed(ActionEvent evt) {
								System.out.println("jMenuItem8.actionPerformed, event="+evt);
								//TODO add your code for jMenuItem8.actionPerformed
								new reporte2(new jMenu()).show();
							}
						});
					}
					{
						jMenuItem9 = new JMenuItem();
						jMenu4.add(jMenuItem9);
						jMenuItem9.setText("Ventas por Monto Asc");
						jMenuItem9.setEnabled(false);
						jMenuItem9.addActionListener(new ActionListener() {
							public void actionPerformed(ActionEvent evt) {
								System.out.println("jMenuItem9.actionPerformed, event="+evt);
								//TODO add your code for jMenuItem9.actionPerformed
								new reporte3(new jMenu()).show();
							}
						});
					}
					{
						jMenuItem10 = new JMenuItem();
						jMenu4.add(jMenuItem10);
						jMenuItem10.setText("Ventas por Monto Desc");
						jMenuItem10.setEnabled(false);
						jMenuItem10.addActionListener(new ActionListener() {
							public void actionPerformed(ActionEvent evt) {
								System.out.println("jMenuItem10.actionPerformed, event="+evt);
								//TODO add your code for jMenuItem10.actionPerformed
								new reporte4(new jMenu()).show();
							}
						});
					}
					{
						jMenuItem11 = new JMenuItem();
						jMenu4.add(jMenuItem11);
						jMenuItem11.setText("Ingredientes Disponibles");
						jMenuItem11.setEnabled(false);
						jMenuItem11.addActionListener(new ActionListener() {
							public void actionPerformed(ActionEvent evt) {
								System.out.println("jMenuItem11.actionPerformed, event="+evt);
								//TODO add your code for jMenuItem11.actionPerformed
								new reporte5(new jMenu()).show();
								
							}
						});
					}
					{
						jMenuItem12 = new JMenuItem();
						jMenu4.add(jMenuItem12);
						jMenuItem12.setText("Ingredientes mas Usados Asc");
						jMenuItem12.setEnabled(false);
						jMenuItem12.addActionListener(new ActionListener() {
							public void actionPerformed(ActionEvent evt) {
								System.out.println("jMenuItem12.actionPerformed, event="+evt);
								//TODO add your code for jMenuItem12.actionPerformed
								new reporte6(new jMenu()).show();
							}
						});
					}
					{
						jMenuItem13 = new JMenuItem();
						jMenu4.add(jMenuItem13);
						jMenuItem13.setText("Integredientes mas Usados Desc");
						jMenuItem13.setEnabled(false);
						jMenuItem13.addActionListener(new ActionListener() {
							public void actionPerformed(ActionEvent evt) {
								System.out.println("jMenuItem13.actionPerformed, event="+evt);
								//TODO add your code for jMenuItem13.actionPerformed
								new reporte7(new jMenu()).show();
							}
						});
					}
				}
			}
			pack();
			this.setSize(539, 527);
		} catch (Exception e) {
		    //add your error handling code here
			e.printStackTrace();
		}
	}

}
